|
![](/i/fill.gif) |
If you know where your camera is in POVray (in coordinates or units) and you
also know where your object is, the distance is sqrt( (x2 - x1)^2 + (y2 - y1)^2
+ (z2 - z1)^2 ), the old and venerable Pythagorean theorem.
<x1, y1, z1> should be your camera location, and <x2, y2, z2> should be your
object location.
Cheers!
Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip
Post a reply to this message
|
![](/i/fill.gif) |